<?php

// hook Tables_brfore.php
return [
    // +----------------------------------------------------------------------
    // | 内存表设置 num 2的次方，不建议太大，所以系统默认锁定最大24 16777216行
    // +----------------------------------------------------------------------
    //'request_stat' => ['Num'=>2**x,'Fields'=>['ms'=>swoole_table::TYPE_INT,'count'=>swoole_table::TYPE_INT]], //此table 内置
    'Views' => ['Num' => 16, 'Fields' => ['Views' => [\swoole\table::TYPE_INT, 4],]],
    'Current' => ['Num' => 16 , 'Fields' => ['Num' => [\swoole\table::TYPE_INT, 4],'Time' => [\swoole\table::TYPE_INT, 4],]],
    'TmpLock' => ['Num' => 18 , 'Fields' => ['Lock' => [\swoole\table::TYPE_INT, 8]]],
    'Vc' => ['Num' => 18 , 'Fields' => ['Lock' => [\swoole\table::TYPE_INT, 4],]],
    'SysUserName' => ['Num' => 18 , 'Fields' => ['UserID' => [\swoole\table::TYPE_INT, 4],]],
    'SysUserMobile' => ['Num' => 18 , 'Fields' => ['UserID' => [\swoole\table::TYPE_INT, 4],]],

    'AuthNick' => ['Num' => 18 , 'Fields' => ['NickID' => [\swoole\table::TYPE_INT, 4],'ShopID' => [\swoole\table::TYPE_INT, 8],'Status' => [\swoole\table::TYPE_INT, 4],'ProductID' => [\swoole\table::TYPE_INT, 4],'TimeOut' => [\swoole\table::TYPE_INT, 4],]],
    'SysAlbumAttach' => ['Num' => 18 , 'Fields' => ['Patch' => [\swoole\table::TYPE_STRING, 96],]],
    'AuthTaobaoCate' => ['Num' => 18 , 'Fields' => ['ParentTbID' => [\swoole\table::TYPE_INT, 8],'IsParent' => [\swoole\table::TYPE_INT, 4],'Lv' => [\swoole\table::TYPE_INT, 4],'Name' => [\swoole\table::TYPE_STRING, 96],]],

    'SysUser' => ['Num' => 18 , 'Fields' => [
        'ParentUserID' => [\swoole\table::TYPE_INT, 4],
        'RoleID' => [\swoole\table::TYPE_INT, 4],
        'AvatarAt' => [\swoole\table::TYPE_INT, 4],
        'UserName' => [\swoole\table::TYPE_STRING, 96],
        'NickName' => [\swoole\table::TYPE_STRING, 96],
        'Balance' => [\swoole\table::TYPE_INT, 4],
        'Bonus' => [\swoole\table::TYPE_INT, 4],
        'Points' => [\swoole\table::TYPE_INT, 4],
        'PassWord' => [\swoole\table::TYPE_STRING, 32],
        'Salt' => [\swoole\table::TYPE_STRING, 8],
        'Status' => [\swoole\table::TYPE_INT, 4],
        'UserLevelID' => [\swoole\table::TYPE_INT, 4],
        'ShopID' => [\swoole\table::TYPE_INT, 4],
        ]],
    //以上内置默认table

    // hook Tables_middle.php
];

// hook Tables_after.php
?>